
export TOP_DIR = .

include Makefile.param

CFLAGS = -Wall -O2 -g $(inc-y) -I./
LIBS = -lpthread -lm
CC = gcc
STRIP = strip

obj-y += $(patsubst %.c,%.o,test/mav_demo.c)
obj-y += $(patsubst %.c,%.o,debug.c)

rsc-demo: $(obj-y)
	$(CC) $(CFLAGS) -o $@ $^ $(LIBS)

clean:
	rm $(obj-y) rsc-demo
